package bud.taskmanager.project.dto;

import org.hibernate.validator.constraints.NotEmpty;

/**
 * <pre>
 * 프로젝트 클래스
 * </pre>
 * 
 * @author YPJEON
 * 
 */
public class Project {

	private int id;

	@NotEmpty
	private String name;

	private String description;

	private int isPublic;

	private String createdOn;

	private String updatedOn;

	@NotEmpty
	private String identifier;

	private int status;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public int getIsPublic() {
		return isPublic;
	}

	public void setIsPublic(int isPublic) {
		this.isPublic = isPublic;
	}

	public String getCreatedOn() {
		return createdOn;
	}

	public void setCreatedOn(String createdOn) {
		this.createdOn = createdOn;
	}

	public String getUpdatedOn() {
		return updatedOn;
	}

	public void setUpdatedOn(String updatedOn) {
		this.updatedOn = updatedOn;
	}

	public String getIdentifier() {
		return identifier;
	}

	public void setIdentifier(String identifier) {
		this.identifier = identifier;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	@Override
	public String toString() {
		return "Project [id=" + id + ", name=" + name + ", description="
				+ description + ", isPublic=" + isPublic + ", createdOn="
				+ createdOn + ", updatedOn=" + updatedOn + ", identifier="
				+ identifier + ", status=" + status + "]";
	}

}
